<%@page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="x" uri="/soar-bx-tags"%>
<x:HeaderParts modal="true"/>
<x:MainPartsTag modal="true">
<x:zone name="MainZone">
<x:Form action="auth/userrole.shtml">
<x:ParamsParts>
<x:TextField name="id" type="hidden" />
<x:TextField name="userIds" type="hidden" />
</x:ParamsParts>
<x:DataViewParts>
<x:PanelHeading>已选用户：
<s:iterator value="users" id="ars" status="st">
${ars.NAME }
<s:if test="!#st.last">,</s:if>
</s:iterator>
</x:PanelHeading>
<x:PanelBody>
<tr>
<div class="btn-group" data-toggle="buttons">
	<s:iterator id="sys" value="sysPageList">
		<%-- <label class="btn btn-primary <s:if test="CT > 0">active</s:if> ">
		    <input type="checkbox" name="ids" autocomplete="off" value="${sys.ID }" <s:if test="CT > 0">checked="checked"</s:if> >${sys.ROLE_NAME }
		</label> --%>
		
		<div style="display: inline-block;margin-left: 25px;">
			<s:if test="ROLE_NAME !='超级管理员'">
				<label class="checkbox inline" >
			  		<input type="radio" name="ids" value="${sys.ID }" <s:if test="CT > 0">checked="checked"</s:if>>${sys.ROLE_NAME }
			  	</label>
		  	</s:if>
	  	</div>
	</s:iterator>
</div>
</tr>
</x:PanelBody>
<x:PanelFooter>
<x:ButtonsParts>
<x:Button role="success" value="保存" onclick="X.Submit('doSave',1,true)"></x:Button>
<x:Button role="default" value="关闭" onclick="X.CloseLayer()"></x:Button>
</x:ButtonsParts>
</x:PanelFooter>
</x:DataViewParts>
<x:JsParts fn="">
</x:JsParts>
</x:Form>
</x:zone>
</x:MainPartsTag>
